package com.woniuxy.company5.service.impl;

import com.woniuxy.company5.entity.UserEmpPosition;
import com.woniuxy.company5.mapper.UserEmpPositionMapper;
import com.woniuxy.company5.service.UserEmpPositionService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author ：fengsir
 * @date ：Created in 2022/12/8 20:41
 * @description：
 * @modified By：
 * @version: $
 */
@Service
public class UserEmpPositionServiceImpl implements UserEmpPositionService {
    @Resource
    private UserEmpPositionMapper userEmpPositionMapper;

    @Override
    public int delUserId(Long id) {
        return userEmpPositionMapper.delUserId(id);
    }

    @Override
    public int insertSelective(UserEmpPosition record) {
        return userEmpPositionMapper.insertSelective(record);
    }

    @Override
    public int updateByPrimaryKeySelective(UserEmpPosition record) {
        return userEmpPositionMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByEmpIdSelective(UserEmpPosition record) {
        return userEmpPositionMapper.updateByEmpIdSelective(record);
    }
}
